#include <stdio.h>

int main() {
    int year;
    for (year = 1949; year <= 2049; year += 12) {
        printf("%d\n", year);
    }
    return 0;
}
